#include <stdio.h>

// 求解 1 到 100 的和

int main()
{
    int i, sum;
    sum = 0;
    for (i = 1; i <= 100; i++)
    {
        sum += i;
    }
    printf("the sum from 1 to 100 is [%d]\n", sum);
}